<?php

namespace Common\Event;

use Swoole\Server;
use Swoole\Client;

class SendToWebSocket
{
    public int $fd;
    public string $data;
    public string $ip;
    public int $port;

    public function __construct(int $fd,string $data)
    {
        $this->fd = $fd;
        $this->data = $data;
    }
}
